package com.xca.znb.entity;

public class Procurement {
   private Integer id ;
   private String type ;
   private String variety ;
   private String need ;
   private String unit ;
   private String origin ;
   private String cycle ;
   private String delivery ;
   private String text ;
   private String phone ;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getVariety() {
        return variety;
    }

    public void setVariety(String variety) {
        this.variety = variety;
    }

    public String getNeed() {
        return need;
    }

    public void setNeed(String need) {
        this.need = need;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getCycle() {
        return cycle;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    public String getDelivery() {
        return delivery;
    }

    public void setDelivery(String delivery) {
        this.delivery = delivery;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Procurement{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", variety='" + variety + '\'' +
                ", need='" + need + '\'' +
                ", unit='" + unit + '\'' +
                ", origin='" + origin + '\'' +
                ", cycle='" + cycle + '\'' +
                ", delivery='" + delivery + '\'' +
                ", text='" + text + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public Procurement(){

    }
    public Procurement(String type , String variety , String need , String unit ,
                       String origin ,String cycle , String delivery , String text , String phone){
        this.type = type ;
        this.variety = variety ;
        this.need = need ;
        this.unit = unit ;
        this.origin = origin ;
        this.cycle = cycle ;
        this.delivery= delivery ;
        this.text = text ;
        this.phone = phone ;
    }
    public Procurement(int id, String type, String variety, String need, String unit,
                       String origin, String cycle, String delivery, String text, String phone) {
        this.id = id ;
        this.type = type ;
        this.variety = variety ;
        this.need = need ;
        this.unit = unit ;
        this.origin = origin ;
        this.cycle = cycle ;
        this.delivery = delivery ;
        this.text = text ;
        this.phone = phone ;
    }

}
